<!doctype html>
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]-->
<!--[if IE 7]>    <html class="no-js ie7 oldie" lang="en"> <![endif]-->
<!--[if IE 8]>    <html class="no-js ie8 oldie" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

	<title><?php echo WEBSITE_NAME ?></title>
	<meta name="description" content=""/>
	<meta name="author" content=""/>

	<meta name="viewport" content="width=device-width,initial-scale=1" />

	<link rel="stylesheet" href="<?PHP echo CSS_URL; ?>style.css" />
	<link rel="stylesheet" href="<?PHP echo CSS_URL; ?>jquery.ui.all.css" />
	<?php
	if( $session->is_logged_in() && !$session->is_admin() ) {
    	$user_names = User::find_all_names();
        $unique_names = get_class_unique_values($user_names, 'displayname');
    }
	?>
	<link rel="icon"  type="image/png" href="images/subbear-favicon.png">
    <link rel="icon"  type="image/png" href="favicon.ico">
        
</head>
<body>
    
<?php 

if ( $session->is_logged_in() && !$session->is_admin() ) include('nav.php') ?>
    
<div id="main" class="wrapper padding">
    
<?php
//view($_POST);
//view($session);
            
$session->display_messages();
$session->clear_messages();
?>